package com.px.mbg.model;

import com.px.mbg.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * <p>
 * 入库单明细表
 * </p>
 *
 * @author 品讯科技
 * @since 2022-04-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="ImWhBillDetail对象", description="入库单明细表")
public class ImWhBillDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "入库单id")
    private Long imWhBillId;

    @ApiModelProperty(value = "入库数量")
    private BigDecimal inQty;

    @ApiModelProperty(value = "库存编码")
    private String code;

    @ApiModelProperty(value = "库存名称")
    private String name;

    @ApiModelProperty(value = "库房id")
    private Long storageId;

    @ApiModelProperty(value = "库位编码")
    private String storageLocationCode;

    @ApiModelProperty(value = "宽度")
    private String width;

    @ApiModelProperty(value = "长度")
    private String longt;

    @ApiModelProperty(value = "厚度")
    private String thickness;

    @ApiModelProperty(value = "重量")
    private String weight;

    @ApiModelProperty(value = "宽度单位")
    private String widthUnit;

    @ApiModelProperty(value = "重量单位")
    private String weightUnit;

    @ApiModelProperty(value = "长度单位")
    private String lengthUnit;

    @ApiModelProperty(value = "厚度单位")
    private String thicknessUnit;

    @ApiModelProperty(value = "规格")
    private String specification;

    @ApiModelProperty(value = "数量单位")
    private String quantityUnit;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "类型（成品、半成品、原料等、余料、废料、废品等）")
    private String category;

    @ApiModelProperty(value = "实际数量")
    private BigDecimal inCount;

    @ApiModelProperty(value = "入库数量单位")
    private String quantityUnitProcess;


}
